package com.xxq.semester.service.exam;

import com.xxq.semester.entity.exam.ExamQuestions;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xxq.semester.entity.question.Questions;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author saki
 * @since 2025-07-13
 */
public interface IExamQuestionsService extends IService<ExamQuestions> {
    /**
     * 获取所有考试题目关联列表
     */
    List<ExamQuestions> listAll();

    /**
     * 选择题目并关联到考试
     */
    void saveSelectedQuestions(Long examId, List<Long> questionIds);
}
